package 设计模式.简单工厂模式;

import java.util.Scanner;

public class TestNewsDao {

    public static void main(String[] args) {
        NewsDao newsDao = SimpleDaoFactory.getInstance("oracle");
        newsDao.getAll();

    }
}
